package com.yzy.soft.system.domain;

public class Percent {
     private String taskId;

    private int i=0;
    private int success=0;
    private int error=0;
    private int all=0;

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public int getI() {
        return i;
    }

    public void setI(int i) {
        this.i = i;
    }

    public int getSuccess() {
        return success;
    }

    public void setSuccess(int success) {
        this.success = success;
    }

    public int getError() {
        return error;
    }

    public void setError(int error) {
        this.error = error;
    }

    public int getAll() {
        return all;
    }

    public void setAll(int all) {
        this.all = all;
    }

    public Percent( ) {
    }

    public Percent(String taskId) {
        this.taskId = taskId;
    }

    public Percent(int i, int success, int error, int all) {
        this.i = i;
        this.success = success;
        this.error = error;
        this.all = all;
    }

    public Percent(String taskId, int i, int success, int error, int all) {
        this.taskId = taskId;
        this.i = i;
        this.success = success;
        this.error = error;
        this.all = all;
    }

    @Override
    public String toString() {
        return "Percent{" +
                "taskId='" + taskId + '\'' +
                ", i=" + i +
                ", success=" + success +
                ", error=" + error +
                ", all=" + all +
                '}';
    }
}
